{% extends "base.html" %}
{% block content %}
<div class="d-flex justify-content-center">
    <div class="card card-pretty w-100" style="max-width:640px;">
        <div class="card-body text-center">
            <h4 class="card-title mb-3">未找到该用户</h4>
            <p class="mb-3">我们无法在系统中找到用户名：<strong>{{ username }}</strong></p>
            <p class="text-muted">您可以选择创建一个新账号以继续使用组会知识库。</p>

            <div class="d-flex justify-content-center gap-2 mt-4">
                <a class="btn btn-success" href="/register?username={{ username }}">去注册（预填用户名）</a>
                <a class="btn btn-outline-secondary" href="/login">返回登录</a>
            </div>
        </div>
    </div>
</div>
{% endblock %}
